package com.wxx;

import java.util.Objects;

/**
 * @author: Jetwang
 * @date: 2022/4/1 21:39
 * @description: Node 节点
 * @version: 1.0
 */
public class Node<T> {
    /**
     * 数据域
     */
    T t;

    /**
     * 指针域
     */
    Node next;

    public Node() {

    }

    public Node(T t) {
        this(t, null);
    }

    public Node(T t, Node next) {
        this.t = t;
        this.next = next;
    }
}
